<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src="../jquery/jquery.js"></script>
<link rel="stylesheet" href="jquery.treetable.css" />
<link rel="stylesheet" href="jquery.treetable.theme.default.css" />
<script src="jquery.treetable.js"></script>
</head>
<body>
	<table id="your_table_id" width="300" border="1">
		<thead>
			<tr>
				<th>1</th>
				<th>2</th>
				<th>3</th>
				<th>4</th>
			</tr>
		</thead>
		<tbody>
			<tr data-tt-id="1">
				<td>1</td>
				<td>1</td>
				<td>1</td>
				<td>1</td>
			</tr>
			<tr data-tt-id="2" data-tt-parent-id="1">
				<td>2</td>
				<td>2</td>
				<td>2</td>
				<td>2</td>
			</tr>
			<tr data-tt-id="3" data-tt-parent-id="1">
				<td>3</td>
				<td>3</td>
				<td>3</td>
				<td>3</td>
			</tr>
			<tr data-tt-id="4">
				<td>4</td>
				<td>4</td>
				<td>4</td>
				<td>4</td>
			</tr>
		</tbody>
	</table>
</body>
<script>
	$("#your_table_id").treetable({
		expandable : true
	});
</script>
</html>